'use strict'

const path = require('path')

module.exports = {
  context: path.resolve(__dirname, '../'),
  entry: './src/renderer/main.ts',
  output: {
    path: path.join(__dirname, '../dist/renderer'),
    filename: '[name].js'
  },
  module: {
    rules: [
      {
        test: /\.ts$/,
        loader: 'ts-loader'
      }
    ]
  },
  target: 'electron-main'
}
